net: altera_tse: use BIT macro
authorThomas Chou <[email protected]>
Fri, 6 Nov 2015 01:37:08 +0000 (09:37 +0800)
committerThomas Chou <[email protected]>
Fri, 6 Nov 2015 04:56:47 +0000 (12:56 +0800)
commit4c8df1d359d0f40d6be272e46b0b12f83469a3c9
tree4c900b4940b963f7d3892e3c71656ac0ebe55c4b
parent14fb5369909796f8de1a7fa0c8de1384d3dd2777
net: altera_tse: use BIT macro

Replace numerical bit shift with BIT macro
in altera_tse

:%s/(1 << nr)/BIT(nr)/g
where nr = 0, 1, 2 .... 31

Signed-off-by: Thomas Chou <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Reviewed-by: Chin Liang See <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
drivers/net/altera_tse.h